﻿@{
    ViewBag.Title = "邮箱验证页面_城市垃圾处理网";
    ViewBag.ClassHead = "head_bg3";
}
@Styles.Render("~/Content/loginReg")
 <div style="height:180px"></div>    
<div class="regWrap">
<div class="reg-bar-yz"></div>
    @{
        if (!Request.IsAuthenticated)
        {
            if (!string.IsNullOrWhiteSpace((string)Session["MemberID"]))
            {
    <div class="validEmail-main">
        请注意查收您的邮箱，已发送一封确认邮件到您的邮箱!<br />
        <div style="height: 50px"></div>
        <span style="color: #888">提示：如果迟迟没收到邮件，点击这里重新发送!</span><a href="javascript:void(0)"
            onclick="javascript:$('#restartSend').show(500)">重新发送</a>
        <div id="restartSend" style="margin-top: 10px; display:none">
            验证邮箱：<input type="text" class="txtInp" name="email" value="@Session["MemberID"]" style="width:200px" readonly />
            <input type="button" value="发送验证邮件" id="btnSend" />
            <div class="vmsg"></div>
        </div>
    </div>
            }
            else
            {
    <div class="validEmail-main">
        很抱歉，注册信息丢失，请<a href="/home/login" style="color:#5bacfe">登录网站</a>或者<a href="/home/register" style="color:#5bacfe">重新填写</a>注册信息！
    </div>
            }
        }
        else
        {
            if ((ViewBag.EmailValid ?? 0) == 1)
            {
        <div class="validEmail-main">您的电子邮件地址已验证。</div>
            }
            else
            {
        <div id="restartSend" style="margin: 60px 10px; text-align:center">
            验证邮箱：<input type="text" class="txtInp" name="email" value="@ViewBag.Email" style="width:200px" />
            <input type="button" value="发送验证邮件" id="btnSend" />
            <div class="vmsg"></div>
        </div>
            }
        }
    }
</div>

@section Scripts {
    <style type="text/css">
        .head
        {
            height: 130px;
        }
        .mainContent
        {
            background-image: none;
        }
    </style>
    <!--[if lte IE 6]>
    <script type="text/javascript"> $(".mainContent").css("background", "none");</script> <![endif]-->
    @Scripts.Render("~/bundles/register")
}

